package com.ycsty.demoserver.service.impl;

import com.ycsty.service.HelloService;
import org.apache.dubbo.config.annotation.Service;

@Service
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String name) {
        return "Hello, " + name + "!";
    }

    @Override
    public String sayHaha(String name) {
        return name + ", hahahahaha!";
    }
}
